# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=	nimbus
PORTVERSION=	20140417
CATEGORIES=	x11-themes
MASTER_SITES=	http://gnome-look.org/CONTENT/content-files/
DISTNAME=	164641-${PORTNAME}-gtk3-theme-3.6
PKGNAMEPREFIX=	gtk3-
PKGNAMESUFFIX=	-theme

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Gtk3 theme of Nimbus

LICENSE=	GPLv2

WRKSRC=	${WRKDIR}/${PORTNAME}-gtk3-theme-3.6

NO_BUILD=	yes

post-patch:
	${RM} ${WRKSRC}/*/gtk-3.0/*.orig

pre-install:
.for dir in nimbus light-nimbus dark-nimbus
	${MKDIR} ${STAGEDIR}${PREFIX}/share/themes/${dir}
.endfor

do-install:
.for dir in nimbus light-nimbus dark-nimbus
	cd ${WRKSRC}/${dir} && \
		${COPYTREE_SHARE} . \
		${STAGEDIR}${PREFIX}/share/themes/${dir}
.endfor

.include <bsd.port.mk>
